package com.test.blog.controller;

import com.test.blog.entity.TPersonal;
import com.test.blog.service.TPersonalService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (TNote)表控制层
 *
 * @author makejava
 * @since 2021-12-09 11:50:49
 */
@RestController
@RequestMapping("/personal")
public class TPersonalController {
    /**
     * 服务对象
     */
    @Resource
    private TPersonalService tPersonalService;

    /**
     * 查询作者信息
     * @return
     */
    @RequestMapping("/query")
    public TPersonal query() {
        return tPersonalService.query();
    }
}

